import { observable } from "mobx";

interface IStoreProps {
  list: any[];
  title: string;
  changeTitle: () => void;
}

const commonStore: IStoreProps = observable({
  title: "commonStore Test",
  list: [],
  changeTitle() {
    this.title = this.title + 1;
  },
});

export default commonStore;
